package com.mt.roll.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mt.roll.core.dal.entity.ScrapSubstrateLog;
import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.ScrapSubstrateLogParam;
import com.mt.roll.wms.params.ScrapSubstrateLogQueryParam;
import com.mt.roll.wms.vo.ScrapSubstrateLogVo;
import com.mt.roll.wms.vo.ScrapSubstrateReportVo;


public interface ScrapSubstrateLogService {
    R<IPage<ScrapSubstrateLogVo>> findAll(ScrapSubstrateLogQueryParam scrapSubstrateLogQueryParam);

    R<Boolean> create(ScrapSubstrateLogParam scrapSubstrateLogParam);

    R<Boolean> update(ScrapSubstrateLogParam scrapSubstrateLogParam);

    R<Boolean> delete(IdParam idParam);

    R<ScrapSubstrateLog> findAllById(IdParam idParam);

    R<IPage<ScrapSubstrateReportVo>> findReportByEquipmentId(ScrapSubstrateLogQueryParam scrapSubstrateLogQueryParam);
}
